import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;


public class No21 {
	public static void main(String[] args) throws ParseException {
		Date date = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("dd/mm/yyyy hh:mm:ss");
		
		System.out.println(date);
		
		date = sdf.parse("12/12/2010 20:20:10");
		
		System.out.println(date);
	}
}
